import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
const file: AppRouteModule = {
  path: '/fileManage',
  name: 'FileManage',
  component: LAYOUT,
  redirect: '/fileManage/fileConfig',
  meta: {
    orderNo: 15,
    icon: 'ant-design:setting-twotone',
    title: '文件管理',
  },
  children: [
    {
      path: 'fileConfig',
      name: 'FileConfig',
      component: () => import('/@/views/backs/fileManage/fileConfig/index.vue'),
      meta: {
        // affix: true,
        title: '文件配置',
      },
    },
    {
      path: 'file',
      name: 'File',
      component: () => import('/@/views/backs/fileManage/file/index.vue'),
      meta: {
        // affix: true,
        title: '文件列表',
      },
    },
  ],
};

export default file;
